<?php
/* @var $this ThongBaoMoiThauController */
/* @var $model FormThongBaoMoiThau */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'form-thong-bao-moi-thau-form',
	// Please note: When you enable ajax validation, make sure the corresponding
	// controller action is handling ajax validation correctly.
	// There is a call to performAjaxValidation() commented in generated controller code.
	// See class documentation of CActiveForm for details on this.
	'enableAjaxValidation'=>true,
)); ?>
	<p class="note">Fields with <span class="required">*</span> are required.</p>
	<?php echo $form->errorSummary($model); ?>
	<div class="row">
		<?php echo $form->labelEx($model,'nganh'); ?>
		<?php echo $form->textField($model,'nganh'); ?>
		<?php echo $form->error($model,'nganh'); ?>
	</div>
	<div class="row">
		<?php echo $form->labelEx($model,'linh_vuc'); ?>
		<?php echo $form->textField($model,'linh_vuc'); ?>
		<?php echo $form->error($model,'linh_vuc'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'dia_diem'); ?>
		<?php echo $form->textField($model,'dia_diem',array('size'=>60,'maxlength'=>250)); ?>
		<?php echo $form->error($model,'dia_diem'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ten_du_an'); ?>
		<?php echo $form->textField($model,'ten_du_an',array('size'=>60,'maxlength'=>250)); ?>
		<?php echo $form->error($model,'ten_du_an'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'nguon_von'); ?>
		<?php echo $form->textField($model,'nguon_von',array('size'=>60,'maxlength'=>150)); ?>
		<?php echo $form->error($model,'nguon_von'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ben_moi_thau'); ?>
		<?php echo $form->textField($model,'ben_moi_thau',array('size'=>60,'maxlength'=>250)); ?>
		<?php echo $form->error($model,'ben_moi_thau'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'hinh_thuc'); ?>
		<?php echo $form->textField($model,'hinh_thuc'); ?>
		<?php echo $form->error($model,'hinh_thuc'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'thoi_gian_bat_dau'); ?>
		<?php echo $form->textField($model,'thoi_gian_bat_dau'); ?>
		<?php echo $form->error($model,'thoi_gian_bat_dau'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'thoi_gian_ket_thuc'); ?>
		<?php echo $form->textField($model,'thoi_gian_ket_thuc'); ?>
		<?php echo $form->error($model,'thoi_gian_ket_thuc'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'dia_diem_ban'); ?>
		<?php echo $form->textField($model,'dia_diem_ban',array('size'=>60,'maxlength'=>250)); ?>
		<?php echo $form->error($model,'dia_diem_ban'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'gia_ban'); ?>
		<?php echo $form->textField($model,'gia_ban',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'gia_ban'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'thoi_gian_dong_thau'); ?>
		<?php echo $form->textField($model,'thoi_gian_dong_thau'); ?>
		<?php echo $form->error($model,'thoi_gian_dong_thau'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ngay_xuat_ban'); ?>
		<?php echo $form->textField($model,'ngay_xuat_ban'); ?>
		<?php echo $form->error($model,'ngay_xuat_ban'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'so_bao_dang'); ?>
		<?php echo $form->textField($model,'so_bao_dang',array('size'=>60,'maxlength'=>150)); ?>
		<?php echo $form->error($model,'so_bao_dang'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'tinh_trang_tong_tin'); ?>
		<?php echo $form->textField($model,'tinh_trang_tong_tin',array('size'=>60,'maxlength'=>250)); ?>
		<?php echo $form->error($model,'tinh_trang_tong_tin'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ma_thong_tin'); ?>
		<?php echo $form->textField($model,'ma_thong_tin',array('size'=>60,'maxlength'=>150)); ?>
		<?php echo $form->error($model,'ma_thong_tin'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'thong_tin_chuyen_tien'); ?>
		<?php echo $form->textField($model,'thong_tin_chuyen_tien',array('size'=>60,'maxlength'=>150)); ?>
		<?php echo $form->error($model,'thong_tin_chuyen_tien'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'thong_tin_khac'); ?>
		<?php echo $form->textField($model,'thong_tin_khac',array('size'=>60,'maxlength'=>250)); ?>
		<?php echo $form->error($model,'thong_tin_khac'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'id_nguoi_tao'); ?>
		<?php echo $form->textField($model,'id_nguoi_tao',array('size'=>20,'maxlength'=>20)); ?>
		<?php echo $form->error($model,'id_nguoi_tao'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ngay_tao'); ?>
		<?php echo $form->textField($model,'ngay_tao'); ?>
		<?php echo $form->error($model,'ngay_tao'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'id_nguoi_chinh_sua'); ?>
		<?php echo $form->textField($model,'id_nguoi_chinh_sua',array('size'=>20,'maxlength'=>20)); ?>
		<?php echo $form->error($model,'id_nguoi_chinh_sua'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'id_nguoi_duyet'); ?>
		<?php echo $form->textField($model,'id_nguoi_duyet',array('size'=>20,'maxlength'=>20)); ?>
		<?php echo $form->error($model,'id_nguoi_duyet'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'status'); ?>
		<?php echo $form->textField($model,'status'); ?>
		<?php echo $form->error($model,'status'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'da_thanh_toan'); ?>
		<?php echo $form->textField($model,'da_thanh_toan',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'da_thanh_toan'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'tong_tien'); ?>
		<?php echo $form->textField($model,'tong_tien',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'tong_tien'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ngay_duyet'); ?>
		<?php echo $form->textField($model,'ngay_duyet'); ?>
		<?php echo $form->error($model,'ngay_duyet'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->